package own.stu.jobgib.playown.redis.redisson;

import io.netty.util.HashedWheelTimer;

import java.util.concurrent.TimeUnit;

public class HashedWheelTimeTest {
    public static void main(String[] args) {
        final HashedWheelTimer timer = new HashedWheelTimer();
        timer.newTimeout((v) -> {
            System.out.println("xxxxx");
        }, 2, TimeUnit.SECONDS);
    }
}
